// 这里导入你要使用的图标
/* 引入IconPark图标库 */
import "@icon-park/vue-next/styles/index.css";
import {
	Home,
	System,
	Commodity,
	Shopping,
	Order,
	TransactionOrder,
	People,
	EveryUser,
	Right,
	Search,
	FullScreen,
	Down,
	Remind,
	ExpandRight,
	ExpandLeft,
} from "@icon-park/vue-next"; // 引入所有官方图标

export default (app) => {
	const icons = {
		Home,
		System,
		Commodity,
		Shopping,
		Order,
		TransactionOrder,
		People,
		EveryUser,
		Right,
		Search,
		FullScreen,
		Down,
		Remind,
		ExpandRight,
		ExpandLeft,
	};
	Object.keys(icons).forEach((key) => {
		const iconName = `i-${key}`; // 重命名图标
		app.component(iconName, icons[key]);
	});
};
